package com.link.base.base.project.dao.mybatis.mapper;

import com.link.base.base.project.model.QuoteRound;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 报价轮次表
 *
 * @author 王昊
 * @date 2020-10-13 16:40:05
 */
public interface QuoteRoundMapper extends BasicMapper<QuoteRound> {

    /**
     * 根据项目ID，报价类型查询报价轮次
     * @param quote
     * @return
     */
    List<QuoteRound> queryByQuoteType(QuoteRound quote);

    /**
     * 根据项目id查询最新报价轮次
     * @param quoteRound1
     * @return
     */
    List<QuoteRound> queryByProjectId(QuoteRound quoteRound1);

    Integer countByProjectId(Long projectId);


    void deleteByProjectId(QuoteRound quoteRound);
}
